<?php

namespace Home\Controller;

class OtherController extends BaseController {

    public function _initialize() {
        //重写，勿动
    }

    public function index() {
        $data = M('Configure')->where(array("key" => "lrgs"))->find();

        $value = [];
        if (!empty($data)) {
            $value = unserialize($data['value']);
        }

        $value['desc'] = $data['desc'];
        $value['id'] = $data['id'];

        $this->assign('data', $value);
        $this->display();
    }

}
